my_foods=['Ireland','Dublin',"Australia","Canberra","Ottawa"]
frind_foods=my_foods
my_foods.append("zhengjia")
frind_foods.append("ZJ")
print(my_foods,id(my_foods))
print(frind_foods,id(frind_foods))
print('\n=========================程序开始=============================================\n')
def fun(b):
    new=b[:]
    new[2]='jkjk'
    print(f'new={new},{id(new)}')
    print(f'函数内 {b} {id(b)}')
    return new

print('========================================================================')
list=[1,2,3]

print(f'未进入函数{list} {id(list)}')
list=fun(list)
print(f'进入函数后{list} {id(list)}')